import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;
/**
 *en esta clase es para crear letreros
 *@JUAN FRANCISCO ARIAS BETANCOURT
 */
public class Letrero extends Actor
{
    private String letrero;//dialogo del letrero
     private static final Color transparent = new Color(0,0,0,0);
    public Letrero(String le)
    {
        letrero=le;
        super.setImage(new GreenfootImage("" + letrero,30,Color.BLACK,transparent));
    }

    /**
     *imprime el letrero
     */
    public void act()
    {

        super.setImage(new GreenfootImage("" + letrero,30,Color.BLACK,transparent));

    }    
}